package com.aaa.service.Impl;

import com.aaa.entity.Mtype;
import com.aaa.mapper.MtypeMapper;
import com.aaa.service.MtypeService;
import com.aaa.util.DefaultMsg;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MtypeServiceImpl extends ServiceImpl<MtypeMapper, Mtype> implements MtypeService {

    @Autowired
    private MtypeMapper mtypeMapper;

    @Override
    public List<Mtype> listAll() {

        List<Mtype> mtypes = mtypeMapper.listAll();

        return mtypes;
    }
}
